﻿using System.Linq.Expressions;

namespace Hotel.IDAL
{
    public interface IBaseDAL<T>
    {   
        /// <summary>
        /// 根据条件查询
        /// </summary>
        /// <param name="exp"></param>
        /// <returns></returns>
        Task<T> GetValue(Expression<Func<T,bool>>exp);
    }
}
